import Cookies from 'js-cookie'

const TokenKey = 'Admin-Token1'
const labToken = 'jwtToken'
const labToken1 = 'refreshToken'

export function getToken() {
  return Cookies.get(TokenKey)
}

export function setToken(token) {
  return Cookies.set(TokenKey, token)
}

export function removeToken() {
  Cookies.remove(labToken)
  Cookies.remove(labToken1)
  return Cookies.remove(TokenKey)

}
